Commit 1dbb81e1 authored by Daniel Garcia Moreno's avatar Daniel Garcia Moreno Committed by Daniel Garcia Moreno

Ignore self typing notifications

parent 0e55e01e
......@@ -135,6 +135,10 @@ pub fn sync(bk: &Backend, new_since: Option<String>, initial: bool) -> Result<()
{
for user in typing_users {
let user: String = from_value(user.to_owned()).unwrap();
// ignoring the user typing notifications
if user == userid {
continue;
}
typing.push(Member {
uid: user,
alias: None,
......
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