Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
a0a2de3b
Commit
a0a2de3b
authored
Mar 08, 2017
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Don’t send the unavailable presence to all resources, in the virtual channel"
This reverts commit
38ff50f5
.
parent
38ff50f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/bridge/bridge.cpp
src/bridge/bridge.cpp
+1
-1
src/irc/irc_client.cpp
src/irc/irc_client.cpp
+2
-2
No files found.
src/bridge/bridge.cpp
View file @
a0a2de3b
...
...
@@ -62,7 +62,7 @@ void Bridge::shutdown(const std::string& exit_message)
for
(
auto
it
=
this
->
irc_clients
.
begin
();
it
!=
this
->
irc_clients
.
end
();
++
it
)
{
it
->
second
->
send_quit_command
(
exit_message
);
it
->
second
->
leave_dummy_channel
(
exit_message
,
""
);
it
->
second
->
leave_dummy_channel
(
exit_message
);
}
}
...
...
src/irc/irc_client.cpp
View file @
a0a2de3b
...
...
@@ -1161,14 +1161,14 @@ DummyIrcChannel& IrcClient::get_dummy_channel()
return
this
->
dummy_channel
;
}
void
IrcClient
::
leave_dummy_channel
(
const
std
::
string
&
exit_message
,
const
std
::
string
&
resource
)
void
IrcClient
::
leave_dummy_channel
(
const
std
::
string
&
exit_message
)
{
if
(
!
this
->
dummy_channel
.
joined
)
return
;
this
->
dummy_channel
.
joined
=
false
;
this
->
dummy_channel
.
joining
=
false
;
this
->
dummy_channel
.
remove_all_users
();
this
->
bridge
.
send_muc_leave
(
Iid
(
"%"
s
+
this
->
hostname
,
this
->
chantypes
),
std
::
string
(
this
->
current_nick
),
exit_message
,
true
,
resource
);
this
->
bridge
.
send_muc_leave
(
Iid
(
"%"
s
+
this
->
hostname
,
this
->
chantypes
),
std
::
string
(
this
->
current_nick
),
exit_message
,
true
);
}
#ifdef BOTAN_FOUND
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment