UI delay done in UI
This commit is contained in:
parent
7ecabe49d2
commit
975a2db3e4
1 changed files with 1 additions and 5 deletions
|
@ -90,11 +90,7 @@ export function guessAndSetDMRoom(room, isDirect) {
|
|||
newTarget = null;
|
||||
}
|
||||
|
||||
// give some time for the user to see the icon change first, since
|
||||
// this will hide the context menu once it completes
|
||||
return q.delay(500).then(() => {
|
||||
return setDMRoom(room.roomId, newTarget);
|
||||
});
|
||||
return setDMRoom(room.roomId, newTarget);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue