-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
Hi tox-user, we're working on a change that slightly changes the group chat api. Can we discuss somewhere? |
Hi @iphydf could you add me on Tox? You will find my ID in my profile. |
d1c3c5f
to
0a28ac1
Compare
Implements qTox#4128 Adds messages that notify when user joins or leaves group chat or changes their name.
0a28ac1
to
ee9c68e
Compare
This is ready for testing and review now. |
|
It's true that it doesn't work in this scenario:
PR #4978 itself doesn't fix it. It makes it more strange, because then client |
@tox-user Did you move |
That helped, but I get a notification spam when I join a bigger existing group. |
Review status: 0 of 4 files reviewed at latest revision, all discussions resolved, some commit checks failed. src/model/group.cpp, line 53 at r1 (raw file):
Same src/model/group.cpp, line 109 at r1 (raw file):
is src/model/group.cpp, line 118 at r1 (raw file):
range-based for loop instead? src/widget/widget.cpp, line 1841 at r1 (raw file):
src/widget/widget.cpp, line 1855 at r1 (raw file):
same constsness. src/widget/widget.cpp, line 1869 at r1 (raw file):
same constness Comments from Reviewable |
Adds messages that notify when user joins or leaves group chat or changes their name. Implements #4128.
Current issues:
when user joins a non empty group chat they will always get a join message for every participant at onceevery time someone joins a group that we are in, we don't see their user name at first. Instead we see "Tox User" as their name. A few seconds later the name changes to their real name, which creates additional messageI am not sure how to fix them yet.Depends on TokTok/c-toxcore#819
This change is