Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Plugins
pidgin-otr
Commits
d0efc5c6
Commit
d0efc5c6
authored
May 10, 2012
by
Rob Smits
Browse files
* otr-plugin.c: Found small issue with last commit.
parent
a6d6d57f
Changes
1
Hide whitespace changes
Inline
Side-by-side
otr-plugin.c
View file @
d0efc5c6
...
@@ -432,7 +432,6 @@ static void handle_msg_event_cb(void *opdata, OtrlMessageEvent msg_event,
...
@@ -432,7 +432,6 @@ static void handle_msg_event_cb(void *opdata, OtrlMessageEvent msg_event,
char
*
buf
;
char
*
buf
;
const
char
*
format
;
const
char
*
format
;
OtrlMessageEvent
*
last_msg_event
;
OtrlMessageEvent
*
last_msg_event
;
gboolean
value_existed
;
conv
=
otrg_plugin_context_to_conv
(
context
,
1
);
conv
=
otrg_plugin_context_to_conv
(
context
,
1
);
last_msg_event
=
g_hash_table_lookup
(
conv
->
data
,
"otr-last_msg_event"
);
last_msg_event
=
g_hash_table_lookup
(
conv
->
data
,
"otr-last_msg_event"
);
...
@@ -642,7 +641,7 @@ static void handle_msg_event_cb(void *opdata, OtrlMessageEvent msg_event,
...
@@ -642,7 +641,7 @@ static void handle_msg_event_cb(void *opdata, OtrlMessageEvent msg_event,
}
}
break
;
break
;
case
OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE
:
case
OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE
:
if
(
value_existed
&&
*
last_msg_event
==
msg_event
)
{
if
(
*
last_msg_event
==
msg_event
)
{
break
;
break
;
}
}
format
=
_
(
"%s has sent a message intended for a different session."
format
=
_
(
"%s has sent a message intended for a different session."
...
...
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