this repo has no description
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

ui: fix scope of setting member typing

This was accidentally in a scope related to the message having the users
nick

+9 -9
+9 -9
src/irc.zig
··· 2236 2236 break :title buf[0..len]; 2237 2237 }; 2238 2238 try ctx.sendNotification(title, content); 2239 + } 2239 2240 2240 - if (client.caps.@"message-tags") { 2241 - // Set the typing time to 0. We only need to do this when the server 2242 - // supports message-tags 2243 - for (channel.members.items) |*member| { 2244 - if (!std.mem.eql(u8, member.user.nick, sender)) { 2245 - continue; 2246 - } 2247 - member.typing = 0; 2248 - return; 2241 + if (client.caps.@"message-tags") { 2242 + // Set the typing time to 0. We only need to do this when the server 2243 + // supports message-tags 2244 + for (channel.members.items) |*member| { 2245 + if (!std.mem.eql(u8, member.user.nick, sender)) { 2246 + continue; 2249 2247 } 2248 + member.typing = 0; 2249 + return; 2250 2250 } 2251 2251 } 2252 2252 },