mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-04-26 13:07:52 +00:00
don't show self typing
This commit is contained in:
@@ -1847,7 +1847,7 @@ class Channel extends SnowFlake {
|
||||
let showing = false;
|
||||
let i = 0;
|
||||
const curtime = Date.now() - 5000;
|
||||
for (const thing of this.typingmap.keys()) {
|
||||
for (const thing of this.typingmap.keys().filter((_) => _.id !== this.localuser.user.id)) {
|
||||
if ((this.typingmap.get(thing) as number) > curtime) {
|
||||
if (i !== 0) {
|
||||
build += ", ";
|
||||
|
||||
Reference in New Issue
Block a user