Skip to content
Snippets Groups Projects
Commit d7ea3283 authored by Piotr Gaczkowski's avatar Piotr Gaczkowski
Browse files

Second buggy commit

parent 5f9eab3c
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment