Fixes
This commit is contained in:
parent
d547a3ccaa
commit
246146ed60
@ -329,8 +329,6 @@ export default class PeerProfile {
|
||||
if(userFull.rAbout && peerId !== rootScope.myId) {
|
||||
setText(userFull.rAbout, this.bio);
|
||||
}
|
||||
|
||||
this.location.container.style.display = 'none';
|
||||
|
||||
//this.log('userFull', userFull);
|
||||
return true;
|
||||
@ -351,9 +349,7 @@ export default class PeerProfile {
|
||||
// @ts-ignore
|
||||
if(chatFull?.location?._ == 'channelLocation') {
|
||||
// @ts-ignore
|
||||
setText(RichTextProcessor.wrapRichText(chatFull.location.address), this.location);
|
||||
}else{
|
||||
this.location.container.style.display = 'none';
|
||||
setText(chatFull.location.address, this.location);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -85,18 +85,6 @@ export class AppSidebarLeft extends SidebarSlider {
|
||||
});
|
||||
};
|
||||
|
||||
const onNewGeoGroupClick = () => {
|
||||
new AppAddMembersTab(this).open({
|
||||
type: 'chat',
|
||||
skippable: true, // you can create geogroups without members
|
||||
takeOut: (peerIds) => {
|
||||
new AppNewGroupTab(this).open(peerIds, true);
|
||||
},
|
||||
title: 'GroupAddMembers',
|
||||
placeholder: 'SendMessageTo'
|
||||
});
|
||||
};
|
||||
|
||||
const onContactsClick = () => {
|
||||
new AppContactsTab(this).open();
|
||||
};
|
||||
|
@ -507,8 +507,6 @@ export class AppChatsManager {
|
||||
lat: gpoint['lat'],
|
||||
long: gpoint['long']
|
||||
} as InputGeoPoint;
|
||||
|
||||
// NON TOCCARE STO PEZZO MAI PIù NELLA VITA
|
||||
return apiManager.invokeApi('channels.createChannel', {
|
||||
megagroup: true,
|
||||
title,
|
||||
|
@ -17,7 +17,7 @@ import cleanUsername from "../../helpers/cleanUsername";
|
||||
import { formatFullSentTimeRaw, tsNow } from "../../helpers/date";
|
||||
import { formatPhoneNumber } from "../../helpers/formatPhoneNumber";
|
||||
import { safeReplaceObject, isObject } from "../../helpers/object";
|
||||
import { Chat, InputContact, InputMedia, InputPeer, Updates, InputUser, User as MTUser, UserProfilePhoto, UserStatus, InputGeoPoint } from "../../layer";
|
||||
import { Chat, InputContact, InputMedia, InputPeer, InputUser, User as MTUser, UserProfilePhoto, UserStatus, InputGeoPoint } from "../../layer";
|
||||
import I18n, { i18n, LangPackKey } from "../langPack";
|
||||
//import apiManager from '../mtproto/apiManager';
|
||||
import apiManager from '../mtproto/mtprotoworker';
|
||||
|
Loading…
x
Reference in New Issue
Block a user