Fixes
This commit is contained in:
parent
d547a3ccaa
commit
246146ed60
@ -329,8 +329,6 @@ export default class PeerProfile {
|
|||||||
if(userFull.rAbout && peerId !== rootScope.myId) {
|
if(userFull.rAbout && peerId !== rootScope.myId) {
|
||||||
setText(userFull.rAbout, this.bio);
|
setText(userFull.rAbout, this.bio);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.location.container.style.display = 'none';
|
|
||||||
|
|
||||||
//this.log('userFull', userFull);
|
//this.log('userFull', userFull);
|
||||||
return true;
|
return true;
|
||||||
@ -351,9 +349,7 @@ export default class PeerProfile {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if(chatFull?.location?._ == 'channelLocation') {
|
if(chatFull?.location?._ == 'channelLocation') {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
setText(RichTextProcessor.wrapRichText(chatFull.location.address), this.location);
|
setText(chatFull.location.address, this.location);
|
||||||
}else{
|
|
||||||
this.location.container.style.display = 'none';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
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 = () => {
|
const onContactsClick = () => {
|
||||||
new AppContactsTab(this).open();
|
new AppContactsTab(this).open();
|
||||||
};
|
};
|
||||||
|
@ -507,8 +507,6 @@ export class AppChatsManager {
|
|||||||
lat: gpoint['lat'],
|
lat: gpoint['lat'],
|
||||||
long: gpoint['long']
|
long: gpoint['long']
|
||||||
} as InputGeoPoint;
|
} as InputGeoPoint;
|
||||||
|
|
||||||
// NON TOCCARE STO PEZZO MAI PIù NELLA VITA
|
|
||||||
return apiManager.invokeApi('channels.createChannel', {
|
return apiManager.invokeApi('channels.createChannel', {
|
||||||
megagroup: true,
|
megagroup: true,
|
||||||
title,
|
title,
|
||||||
|
@ -17,7 +17,7 @@ import cleanUsername from "../../helpers/cleanUsername";
|
|||||||
import { formatFullSentTimeRaw, tsNow } from "../../helpers/date";
|
import { formatFullSentTimeRaw, tsNow } from "../../helpers/date";
|
||||||
import { formatPhoneNumber } from "../../helpers/formatPhoneNumber";
|
import { formatPhoneNumber } from "../../helpers/formatPhoneNumber";
|
||||||
import { safeReplaceObject, isObject } from "../../helpers/object";
|
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 I18n, { i18n, LangPackKey } from "../langPack";
|
||||||
//import apiManager from '../mtproto/apiManager';
|
//import apiManager from '../mtproto/apiManager';
|
||||||
import apiManager from '../mtproto/mtprotoworker';
|
import apiManager from '../mtproto/mtprotoworker';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user