Added reposts to the list of handled post in buffers
This commit is contained in:
@@ -70,7 +70,7 @@ class baseBuffer(object):
|
||||
if event != None:
|
||||
try:
|
||||
getattr(self, event)()
|
||||
except KeyError:
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
def volume_down(self):
|
||||
|
@@ -36,7 +36,10 @@ class postController(object):
|
||||
if self.post.has_key("type"):
|
||||
if self.post["type"] == "post":
|
||||
from_ = self.session.get_user_name(self.post["source_id"])
|
||||
title = _(u"Post from {0}").format(from_,)
|
||||
if self.post.has_key("copy_owner_id"):
|
||||
title = _(u"repost from {0}").format(from_,)
|
||||
else:
|
||||
title = _(u"Post from {0}").format(from_,)
|
||||
self.dialog.set_title(title)
|
||||
message = u""
|
||||
if self.post.has_key("text"):
|
||||
|
Reference in New Issue
Block a user