forked from Mirrors/doipjs
Fix XMPP fetcher logic
This commit is contained in:
parent
f75a9b375e
commit
a389a148e8
2 changed files with 4 additions and 2 deletions
|
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Added
|
### Added
|
||||||
- StackExchange claim verification
|
- StackExchange claim verification
|
||||||
- Telegram claim verification (thanks [Goldstein](https://codeberg.org/Goldstein)!)
|
- Telegram claim verification (thanks [Goldstein](https://codeberg.org/Goldstein)!)
|
||||||
|
### Fixed
|
||||||
|
- Fix XMPP fetcher logic
|
||||||
### Removed
|
### Removed
|
||||||
- Message proof format
|
- Message proof format
|
||||||
|
|
||||||
|
|
|
@ -110,9 +110,9 @@ if (jsEnv.isNode) {
|
||||||
switch (data.field.toLowerCase()) {
|
switch (data.field.toLowerCase()) {
|
||||||
case 'desc':
|
case 'desc':
|
||||||
case 'note':
|
case 'note':
|
||||||
vcard = dom.window.document.querySelector('note')
|
vcard = dom.window.document.querySelector('note text')
|
||||||
if (!vcard) {
|
if (!vcard) {
|
||||||
vcard = dom.window.document.querySelector('note text')
|
vcard = dom.window.document.querySelector('note')
|
||||||
}
|
}
|
||||||
if (!vcard) {
|
if (!vcard) {
|
||||||
vcard = dom.window.document.querySelector('DESC')
|
vcard = dom.window.document.querySelector('DESC')
|
||||||
|
|
Loading…
Reference in a new issue