Skip to content
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

Dialog Flood "cannot parse mattermost reply" #131

Open
josx opened this issue Sep 17, 2020 · 2 comments
Open

Dialog Flood "cannot parse mattermost reply" #131

josx opened this issue Sep 17, 2020 · 2 comments

Comments

@josx
Copy link

josx commented Sep 17, 2020

In the lasts days every time i start pidgin I got dialog flood with (like 30 almost at the same time):

"cannot parse mattermost reply" (not json or object array)

purple_notify_error(ma->pc, _("Error"), _("Cannot parse Mattermost reply"), _("(not json object or array)"), purple_request_cpar_from_connection(ma->pc));

Anyone knows why it is hapenning, or any clue to fix it?

@josx
Copy link
Author

josx commented May 26, 2021

BTW I commented out this line.

--- a/libmattermost.c
+++ b/libmattermost.c
@@ -200,7 +200,7 @@ mm_check_mattermost_response(MattermostAccount *ma, JsonNode *node, gchar *errti
if (json_node_get_node_type(node) == JSON_NODE_ARRAY) {
return TRUE;
}
-       purple_notify_error(ma->pc, _("Error"), _("Cannot parse Mattermost reply"), _("(not json object or array)"), purple_request_cpar_from_connection(ma->pc));
+       //purple_notify_error(ma->pc, _("Error"), _("Cannot parse Mattermost reply"), _("(not json object or array)"), purple_request_cpar_from_connection(ma->pc));^M
return FALSE;
}

@yashasolutions
Copy link

I have the same issue, did it help to comment out the line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants