this repo has no description
3
fork

Configure Feed

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

lua: update how markRead works

+3 -5
+1 -3
src/lua.zig
··· 461 461 const lua_type = lua.getField(1, "_ptr"); // [table, lightuserdata] 462 462 lua.argCheck(lua_type == .light_userdata, 2, "expected lightuserdata"); 463 463 const channel = lua.toUserdata(irc.Channel, 2) catch unreachable; 464 - channel.markRead() catch |err| { 465 - std.log.err("couldn't mark channel as read: {}", .{err}); 466 - }; 464 + channel.last_read_indicator = channel.last_read; 467 465 lua.pop(2); // [] 468 466 return 0; 469 467 }