nheko
nheko copied to clipboard
`/snowfall <message>` does not get rendered and dated to 1970-01-01 (also applies to `/confetti <message>`, `/confetti <message>`, `/rainfall <message>`, `/spaceinvaders message`.)
Describe the bug
When I write in another client /snowfall
, nheko does correctly displays it as <user> sends snowfall ❄
with correct timestamp. When I write /snowfall <message>
, nheko does display Unretrieved event
and dates it to 1970-01-01, and shows "This message is not encrypted!" although it is an encrypted chat and shows "edited" although it has not been edited.
(Does also apply to /confetti <message>
, /confetti <message>
, /rainfall <message>
, /spaceinvaders message
. On the other side, /ranbow <message>
, /rainbowme <message>
, /me <message>
and /spoiler <message>
display correctly, althouth `/spoiler
To Reproduce
- Be logged in with Matrix account A in the client "SchildiChat-desktop" (it is based on the Matrix reference client "Element-desktop"),
- be logged in with Matrix account B in the client "Nheko",
- have an encrypted private conversation between A and B,
- have A write
/snowfall This is a `/snowfall` message
to B, - see the problem described above.
What happened?
Here are details and screenshots of the situation (personal information such as user names greyed out):
- What I have sent in SchildiChat:
- The "Decrypted event source" from within SchildiChat of the
/snowfall This is a `/snowfall` message
-message:{ "type": "m.room.message", "content": { "msgtype": "io.element.effect.snowfall", "body": "This is a `/snowfall` message." } }
- What was received in Nheko:
- "View raw message" does not show up anything in Nheko.
Expected behavior
That Nheko displays This is a `/snowfall` message.
with snowfall effect.
Screenshots
See above at "What happened?".
Version
0.9.1-c59bb675
Operating system
Installation method
Qt version
5.15.2+kde+r289 (Artix GNU-Linux-package qt5-base
).
C++ compiler
gcc-11.1.0
Desktop Environment
no desktop environmnt. Plain xfwm4
window manager and standalone xfce4-taskbar
.
Did you use profiles?
- [ ] Profiles used?
Relevant log output
No response
Backtrace
No response
Can reproduce, confirming bug.
The events are now not shown at all, which can be considered progress or regress, depending on your viewpoint.
Confetti has been implemented and I have a fix for the others in the pipeline.