Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michel Le Bihan
gajim
Commits
74ac228f
Commit
74ac228f
authored
11 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
use GED to send messages via gajim-remote. Fixes #7321
parent
f7da7e42
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/remote_control.py
+6
-3
6 additions, 3 deletions
src/remote_control.py
with
6 additions
and
3 deletions
src/remote_control.py
+
6
−
3
View file @
74ac228f
...
...
@@ -37,6 +37,7 @@ from common import helpers
from
time
import
time
from
dialogs
import
AddNewContactWindow
,
NewChatDialog
,
JoinGroupchatWindow
from
common
import
ged
from
common.connection_handlers_events
import
MessageOutgoingEvent
from
common
import
dbus_support
if
dbus_support
.
supported
:
...
...
@@ -442,8 +443,10 @@ class SignalObject(dbus.service.Object):
if
ctrl
:
ctrl
.
print_conversation
(
message
,
frm
=
'
outgoing
'
)
connection
.
send_message
(
jid
,
message
,
keyID
,
type_
,
subject
,
session
=
session
)
gajim
.
nec
.
push_outgoing_event
(
MessageOutgoingEvent
(
None
,
account
=
connected_account
,
jid
=
jid
,
message
=
message
,
keyID
=
keyID
,
type_
=
type_
,
control
=
ctrl
))
return
DBUS_BOOLEAN
(
True
)
return
DBUS_BOOLEAN
(
False
)
...
...
@@ -463,7 +466,7 @@ class SignalObject(dbus.service.Object):
keyID is specified, encrypt the message with the pgp key
"""
jid
=
self
.
_get_real_jid
(
jid
,
account
)
return
self
.
_send_message
(
jid
,
message
,
keyID
,
account
,
type
,
subject
)
return
self
.
_send_message
(
jid
,
message
,
keyID
,
account
,
'
normal
'
,
subject
)
@dbus.service.method
(
INTERFACE
,
in_signature
=
'
sss
'
,
out_signature
=
'
b
'
)
def
send_groupchat_message
(
self
,
room_jid
,
message
,
account
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment