Fix message recipients for Reply / Reply-All, with Buefy themes
This commit is contained in:
parent
216807503a
commit
abfe8bc648
|
@ -277,10 +277,16 @@ class MessageView(MasterView):
|
||||||
value = [r[0] for r in value]
|
value = [r[0] for r in value]
|
||||||
if old_message.sender is not self.request.user and old_message.sender.active:
|
if old_message.sender is not self.request.user and old_message.sender.active:
|
||||||
value.insert(0, old_message.sender_uuid)
|
value.insert(0, old_message.sender_uuid)
|
||||||
|
if use_buefy:
|
||||||
|
f.set_default('set_recipients', value)
|
||||||
|
else:
|
||||||
f.set_default('set_recipients', ','.join(value))
|
f.set_default('set_recipients', ','.join(value))
|
||||||
|
|
||||||
# Just a normal reply, to sender only.
|
# Just a normal reply, to sender only.
|
||||||
elif self.filter_reply_recipient(old_message.sender):
|
elif self.filter_reply_recipient(old_message.sender):
|
||||||
|
if use_buefy:
|
||||||
|
f.set_default('set_recipients', [old_message.sender.uuid])
|
||||||
|
else:
|
||||||
f.set_default('set_recipients', old_message.sender.uuid)
|
f.set_default('set_recipients', old_message.sender.uuid)
|
||||||
|
|
||||||
# TODO?
|
# TODO?
|
||||||
|
|
Loading…
Reference in a new issue