summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src')
-rw-r--r--plugins/MirOTR/src/otr.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/MirOTR/src/otr.cpp b/plugins/MirOTR/src/otr.cpp
index 51e2633f24..0b13d0d183 100644
--- a/plugins/MirOTR/src/otr.cpp
+++ b/plugins/MirOTR/src/otr.cpp
@@ -253,10 +253,7 @@ extern "C" {
proto = context->protocol;
else
proto = Proto_GetBaseAccountName((UINT_PTR)opdata);
- // ugly wokaround for ICQ. ICQ protocol reports more than 7k, but in SMP this is too long.
- // possibly ICQ doesn't allow single words without spaces to become longer than ~2340?
- if (mir_strcmp("ICQ", proto) == 0 || strncmp("ICQ_", proto, 4) == 0)
- return 2340;
+
return CallProtoService(proto, PS_GETCAPS, PFLAG_MAXLENOFMESSAGE, (LPARAM)opdata);
}