forked from sch/Blasta
Fix more errors. (Thank you. roughnecks).
This commit is contained in:
parent
519c277ea6
commit
6baaa38cba
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ class UtilitiesData:
|
||||||
name = jabber_id.split('@')[0]
|
name = jabber_id.split('@')[0]
|
||||||
for iq_item in iq_items:
|
for iq_item in iq_items:
|
||||||
item_payload = iq_item['payload']
|
item_payload = iq_item['payload']
|
||||||
entry = Syndication.extract_items(item_payload)
|
entry = UtilitiesSyndication.extract_items(item_payload)
|
||||||
entries.append(entry)
|
entries.append(entry)
|
||||||
# TODO Handle this with XEP-0059 (reverse: bool), instead of reversing it.
|
# TODO Handle this with XEP-0059 (reverse: bool), instead of reversing it.
|
||||||
entries.reverse()
|
entries.reverse()
|
||||||
|
@ -109,7 +109,7 @@ class UtilitiesData:
|
||||||
name = jabber_id.split('@')[0]
|
name = jabber_id.split('@')[0]
|
||||||
for iq_item in iq_items:
|
for iq_item in iq_items:
|
||||||
item_payload = iq_item['payload']
|
item_payload = iq_item['payload']
|
||||||
entry = Syndication.extract_items(item_payload, limit)
|
entry = UtilitiesSyndication.extract_items(item_payload, limit)
|
||||||
url_hash = UtilitiesCryptography.hash_url_to_md5(entry['link'])
|
url_hash = UtilitiesCryptography.hash_url_to_md5(entry['link'])
|
||||||
iq_item_id = iq_item['id']
|
iq_item_id = iq_item['id']
|
||||||
if iq_item_id != url_hash:
|
if iq_item_id != url_hash:
|
||||||
|
|
Loading…
Reference in a new issue