Compare commits
1 Commits
master
...
allow-cust
Author | SHA1 | Date | |
---|---|---|---|
4cd066540b |
@ -184,7 +184,7 @@ async def matrix_transaction(request):
|
|||||||
for alias in aliases:
|
for alias in aliases:
|
||||||
print(alias)
|
print(alias)
|
||||||
if alias.split('_')[0] != '#telegram' \
|
if alias.split('_')[0] != '#telegram' \
|
||||||
or alias.split(':')[-1] != MATRIX_HOST_BARE:
|
or not alias.endswith(MATRIX_HOST_BARE):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
tg_id = alias.split('_')[1].split(':')[0]
|
tg_id = alias.split('_')[1].split(':')[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user