-
Notifications
You must be signed in to change notification settings - Fork 429
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
Handle remove_domain in mod_muc_light #3107
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3107 +/- ##
==========================================
+ Coverage 79.15% 79.20% +0.04%
==========================================
Files 387 387
Lines 31832 31853 +21
==========================================
+ Hits 25196 25228 +32
+ Misses 6636 6625 -11
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
@@ -131,6 +132,10 @@ remove_user(UserUS, Version) -> | |||
{atomic, Res} = mnesia:transaction(fun remove_user_transaction/2, [UserUS, Version]), | |||
Res. | |||
|
|||
-spec remove_domain(mongooseim:host_type(), jid:lserver(), jid:lserver()) -> ok. | |||
remove_domain(_HostType, _RoomS, _LServer) -> | |||
ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note: we might mark Mnesia support as TODO somewhere not to forget about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will not forget :D
This PR addresses "Domain removal"
Proposed changes include:
TODO: