diff --git a/fbridge.py b/fbridge.py index 3f830ec..d58a3ca 100644 --- a/fbridge.py +++ b/fbridge.py @@ -37,7 +37,9 @@ def onMessage(self, author_id, message_object, thread_id, thread_type, **kwargs) if author_id in users: username = users[author_id] else: - username = author_id + u = self.fetchUserInfo(author_id)[author_id] + username = u.name + users[author_id] = username ## Set a gateway from the thread_id gateway = "FBgateway"