Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MUC private messages #3556

Merged
merged 37 commits into from
Dec 4, 2024
Merged

Conversation

jcbrand
Copy link
Member

@jcbrand jcbrand commented Dec 4, 2024

Fixes #698

We now store messages on the `MUCOccupant` type, which is the first time
we're storing messages on a non-chatbox. So to handle this, we created
a new mixin model, `ModelWithMessages`, which can be extended by any
model (not just chatboxes) and give that model messaging ability.

We also turn ColorAwareModel and ModelWithMessages into mixins.

Updates #698
…' state

Get rid of the `overrides` in the minimize plugin.
We want to use the sidebar to show other things besides the occupants.
- Try to whittle down the color variables to the bare minimum.
- Remove unnecessary CSS variables.
- Thicker border around chat bottom panel
And move styles into more appropriate files.
- Add link to open chat from occupant view
- Add dropdown menu
So that `converse-chat-content` can be kept more generic.

Set the model directly on the `*-chat-content` components, instead of
passing in the JID, so that the component doesn't have to know where to
fetch the model from.
I want to make it possible to add contacts with no presence
subscription, so technically contacts that aren't in the roster, so that
we can see them in the controlbox sidebar when we have chats open with
them.
@jcbrand jcbrand force-pushed the jcbrand/muc-private-messages branch from cd86677 to e441fc4 Compare December 4, 2024 07:28
@jcbrand jcbrand force-pushed the jcbrand/muc-private-messages branch from e441fc4 to 10c0693 Compare December 4, 2024 07:29
@jcbrand jcbrand merged commit 71f37d2 into master Dec 4, 2024
4 checks passed
@linkmauve linkmauve deleted the jcbrand/muc-private-messages branch December 7, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Private MUC chat
1 participant