diff --git a/src/gajim.py b/src/gajim.py index 2dfd6e28e..cfe0b57f4 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -282,7 +282,7 @@ class Interface: contact1 = None resources = [] for c in lcontact: - resources.append(u.resource) + resources.append(c.resource) if c.resource == resource: contact1 = c break