Added support for displaying and opening wall posts as attachments in conversations
This commit is contained in:
@@ -1302,6 +1302,8 @@ class chatBuffer(baseBuffer):
|
||||
break
|
||||
if url != "":
|
||||
webbrowser.open_new_tab(url)
|
||||
if attachment["type"] == "wall":
|
||||
pub.sendMessage("open-post", post_object=attachment["wall"], controller_="displayPost")
|
||||
else:
|
||||
log.debug("Unhandled attachment: %r" % (attachment,))
|
||||
|
||||
|
Reference in New Issue
Block a user