mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-22 14:30:56 -04:00
Message text on commands
This commit is contained in:
parent
2c3c0f40d1
commit
d0fa61fb73
1 changed files with 2 additions and 1 deletions
|
@ -239,6 +239,7 @@ class Messages():
|
||||||
message_input = m["content"]
|
message_input = m["content"]
|
||||||
|
|
||||||
if message_input.strip() == b"":
|
if message_input.strip() == b"":
|
||||||
|
if not ("lxm" in m and m["lxm"] != None and m["lxm"].fields != None and LXMF.FIELD_COMMANDS in m["lxm"].fields):
|
||||||
message_input = "[i]This message contains no text content[/i]".encode("utf-8")
|
message_input = "[i]This message contains no text content[/i]".encode("utf-8")
|
||||||
|
|
||||||
message_markup = multilingual_markup(message_input)
|
message_markup = multilingual_markup(message_input)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue