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
P
pidgin-otr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plugins
pidgin-otr
Commits
fbbb6f7d
Commit
fbbb6f7d
authored
May 11, 2014
by
TomekWasilczyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style fixes, additional assertion
parent
99e562ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
common.c
common.c
+2
-0
otr-plugin.c
otr-plugin.c
+1
-1
purple3-dialog.c
purple3-dialog.c
+5
-5
No files found.
common.c
View file @
fbbb6f7d
...
...
@@ -310,6 +310,8 @@ otrg_conversation_set_last_received_instance(PurpleConversation *conv,
otrl_instag_t
otrg_conversation_get_last_received_instance
(
PurpleConversation
*
conv
)
{
g_return_val_if_fail
(
conv
!=
NULL
,
OTRL_INSTAG_BEST
);
return
GPOINTER_TO_INT
(
otrg_conv_get_data
(
conv
,
"otr-last_received_ctx"
));
}
...
...
otr-plugin.c
View file @
fbbb6f7d
...
...
@@ -308,7 +308,7 @@ otrg_plugin_privkeygen_waitall(void)
otrg_dialog_private_key_wait_done
(
tdata
->
wait_handle
);
otrl_privkey_generate_cancelled
(
otrg_plugin_userstate
,
tdata
->
new_key
);
g_free
(
tdata
);
}
}
it
=
otrg_plugin_privkeygen_zombies
;
otrg_plugin_privkeygen_zombies
=
NULL
;
...
...
purple3-dialog.c
View file @
fbbb6f7d
...
...
@@ -1359,8 +1359,7 @@ otrg_purple3_conv_update_state(ConnContext *context)
ConnContext
*
m_context
=
NULL
;
GList
*
contexts
;
guint
contexts_count
=
0
;
PurpleAccount
*
account
;
const
gchar
*
cname
;
OtrlPolicy
policy
;
g_return_if_fail
(
context
!=
NULL
);
...
...
@@ -1378,9 +1377,10 @@ otrg_purple3_conv_update_state(ConnContext *context)
contexts_count
--
;
otrg_conversation_set_multi_instance
(
conv
,
(
contexts_count
>=
2
));
account
=
purple_conversation_get_account
(
conv
);
cname
=
purple_conversation_get_name
(
conv
);
if
(
otrg_buddy_prefs_get_policy
(
account
,
cname
)
==
OTRL_POLICY_NEVER
)
{
policy
=
otrg_buddy_prefs_get_policy
(
purple_conversation_get_account
(
conv
),
purple_conversation_get_name
(
conv
));
if
(
policy
==
OTRL_POLICY_NEVER
)
{
purple_conversation_set_e2ee_state
(
conv
,
NULL
);
return
;
}
...
...
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