synac-chat / synac-legacy

Some IRC-like chat application that might become good one day
11 stars 1 forks source link

Change MessageReceive to only send IDs of author and channel because that's probably faster? #5

Closed jD91mZM2 closed 6 years ago

ttofis commented 6 years ago

ID of message and timestamp are important too. At least ID, for reals..

jD91mZM2 commented 6 years ago

Oh no, you got my question wrong. Those are sent as well. However, I meant currently I send the whole channel and author, not just their IDs. Which makes stuff easier for developers who only want to reply to messages, but slower since it has to look them up explicitly (especially in MessageList. Oh so inefficient.)

tbodt commented 6 years ago

Client library can do the lookup, no big deal

ttofis commented 6 years ago

Yes I definitely agree with @tbodt