diff --git a/.env b/.env index 69b6934f..1cc9e0fb 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ API_ID=1025907 API_HASH=452b0359b988148995f22ff0f4229750 VERSION=1.0.0 -VERSION_FULL=1.0.0 (46) -BUILD=46 +VERSION_FULL=1.0.0 (47) +BUILD=47 diff --git a/src/lib/richtextprocessor.ts b/src/lib/richtextprocessor.ts index 19916ebe..89012843 100644 --- a/src/lib/richtextprocessor.ts +++ b/src/lib/richtextprocessor.ts @@ -923,6 +923,7 @@ namespace RichTextProcessor { } export function getAbbreviation(str: string, onlyFirst = false) { + if(!str) return ''; const splitted = str.trim().split(' '); if(!splitted[0]) return '';