forked from indymedia/epicyon
Replacing emoji
parent
6611702ee1
commit
a8689b749c
|
@ -144,6 +144,7 @@ def addEmoji(baseDir: str,wordStr: str,httpPrefix: str,domain: str,replaceEmoji:
|
||||||
'name': ':'+emoji+':',
|
'name': ':'+emoji+':',
|
||||||
'type': 'Emoji'
|
'type': 'Emoji'
|
||||||
}
|
}
|
||||||
|
replaceEmoji[wordStr]='<img src="'+emojiUrl+'" title="'+emoji+'" alt="'+emoji+'"/>'
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def addMention(wordStr: str,httpPrefix: str,following: str,replaceMentions: {},recipients: [],tags: {}) -> bool:
|
def addMention(wordStr: str,httpPrefix: str,following: str,replaceMentions: {},recipients: [],tags: {}) -> bool:
|
||||||
|
|
Loading…
Reference in New Issue