pangeachat / client

Learn a language while texting your friends
https://krille-chan.github.io/fluffychat/
GNU Affero General Public License v3.0
1 stars 2 forks source link

use new room last event filter #507

Open WilsonLe opened 1 month ago

WilsonLe commented 1 month ago

latest main of matrix sdk has implemented a new parameter in the class Client called shouldReplaceRoomLastEvent that receives 2 parameters: a current room last event, and a new current room last event and returns a boolean. You can implement custom logic on whether or not the new event should replace the current event.

wcjord commented 3 weeks ago

@ggurdin is this a good thing for us to implement now?

ggurdin commented 3 weeks ago

Yes this would be good to implement now

wcjord commented 3 weeks ago

Ok please queue it up!