Commit 69f02d77 authored by Christopher Davis's avatar Christopher Davis 🌱

Fix style class logic

I had made a mistake in the logic to add a style class. This style class
is temporary.
parent 2bbfd3c0
Pipeline #26456 passed with stages
in 21 minutes and 9 seconds
......@@ -240,7 +240,7 @@ impl<'a> MessageBox<'a> {
}
// emotes & membership
if msg.mtype == "m.emote" || msg.mtype == "m.room.message" {
if msg.mtype == "m.emote" || msg.mtype == "m.room.member" {
style.add_class("msg-emote");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment