Fix rendering links in shared media
This commit is contained in:
parent
c850e23c7f
commit
b4d747f5f3
4
.env
4
.env
@ -1,5 +1,5 @@
|
|||||||
API_ID=1025907
|
API_ID=1025907
|
||||||
API_HASH=452b0359b988148995f22ff0f4229750
|
API_HASH=452b0359b988148995f22ff0f4229750
|
||||||
VERSION=1.0.0
|
VERSION=1.0.0
|
||||||
VERSION_FULL=1.0.0 (46)
|
VERSION_FULL=1.0.0 (47)
|
||||||
BUILD=46
|
BUILD=47
|
||||||
|
@ -923,6 +923,7 @@ namespace RichTextProcessor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getAbbreviation(str: string, onlyFirst = false) {
|
export function getAbbreviation(str: string, onlyFirst = false) {
|
||||||
|
if(!str) return '';
|
||||||
const splitted = str.trim().split(' ');
|
const splitted = str.trim().split(' ');
|
||||||
if(!splitted[0]) return '';
|
if(!splitted[0]) return '';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user