mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
feat: enable putting text after the shrug or tableflip
This commit is contained in:
parent
6869a3ddfb
commit
cecaa292ba
@ -69,11 +69,11 @@ Rectangle {
|
||||
}
|
||||
|
||||
function interpretMessage(msg) {
|
||||
if (msg === "/shrug") {
|
||||
return "¯\\\\\\_(ツ)\\_/¯"
|
||||
if (msg.startsWith("/shrug")) {
|
||||
return msg.replace("/shrug", "") + " ¯\\\\\\_(ツ)\\_/¯"
|
||||
}
|
||||
if (msg === "/tableflip") {
|
||||
return "(╯°□°)╯︵ ┻━┻"
|
||||
if (msg.startsWith("/tableflip")) {
|
||||
return msg.replace("/tableflip", "") + " (╯°□°)╯︵ ┻━┻"
|
||||
}
|
||||
|
||||
return msg
|
||||
|
Loading…
x
Reference in New Issue
Block a user