Commit 789048fa authored by Julian Sparber's avatar Julian Sparber Committed by Daniel Garcia Moreno

autoscroll: move to new message when the user send a message

parent 55dcaf1b
......@@ -1372,7 +1372,8 @@ impl AppOp {
m.mtype = strn!("m.emote");
};
/* reenable autoscroll to jump to new message in history */
self.autoscroll = true;
self.add_tmp_room_message(m.clone());
self.backend.send(BKCommand::SendMsg(m)).unwrap();
}
......
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