Skip to content

Add support for MUC private messages#3556

Merged
jcbrand merged 37 commits intomasterfrom
jcbrand/muc-private-messages
Dec 4, 2024
Merged

Add support for MUC private messages#3556
jcbrand merged 37 commits intomasterfrom
jcbrand/muc-private-messages

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
@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