Second buggy commit
This commit is contained in:
parent
5f9eab3c62
commit
d7ea3283b9
|
@ -0,0 +1,20 @@
|
||||||
|
from common import gajim
|
||||||
|
|
||||||
|
def user_mood(items, name, jid):
|
||||||
|
contacts = gajim.contacts.get_contact(name, jid)
|
||||||
|
for item in items.getTags('item'):
|
||||||
|
child = item.getTag('mood')
|
||||||
|
if child is not None:
|
||||||
|
for ch in child.getChildren():
|
||||||
|
if ch.getName() != 'text':
|
||||||
|
for contact in contacts:
|
||||||
|
contact.mood = ch.getName()
|
||||||
|
else:
|
||||||
|
for contact in contacts:
|
||||||
|
contact.mood_text = ch.getData()
|
||||||
|
|
||||||
|
def user_tune(items, name, jid):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def user_geoloc(items, name, jid):
|
||||||
|
pass
|
Loading…
Reference in New Issue