summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2020-08-13 15:53:59 +0500
committerElzorFox <elzorfox@ya.ru>2020-08-13 15:53:59 +0500
commit00b028b0d2005cc7888ece4d28ebe21dee8c7c44 (patch)
tree5b0985fce012c8a32d237dd29e96fabb4ff3bbf2 /protocols/VKontakte/src
parentb4ada37d8e318c7b9a98e7bead11b04b04809c6c (diff)
VKontakte: fix showing stickers
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index f3f1bf61f6..c193c1d761 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -1289,7 +1289,7 @@ CMStringW CVkProto::GetAttachmentDescr(const JSONNode &jnAttachments, BBCSupport
wszLinkLast = jnImage["url"].as_mstring();
}
- if (m_vkOptions.iIMGBBCSupport && iBBC != bbcNo)
+ if (m_vkOptions.iIMGBBCSupport)
res += SetBBCString(wszLink.IsEmpty() ? (wszLink128.IsEmpty() ? wszLinkLast : wszLink128) : wszLink, iBBC, vkbbcImg);
}