Skip to content

Commit

Permalink
Corrected !room list
Browse files Browse the repository at this point in the history
  • Loading branch information
gbin committed Aug 28, 2015
1 parent 2497a3e commit 3f6e119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errbot/backends/xmpp.py
Expand Up @@ -622,7 +622,7 @@ def rooms(self):
:returns:
A list of :class:`~errbot.backends.base.XMPPMUCRoom` instances.
"""
xep0045 = self.client.plugin['xep_0045']
xep0045 = self.conn.client.plugin['xep_0045']
return [XMPPMUCRoom(room, self) for room in xep0045.getJoinedRooms()]

def query_room(self, room):
Expand Down

0 comments on commit 3f6e119

Please sign in to comment.