File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -2027,13 +2027,13 @@ export async function fetchChannelRecommendations({ chat }: { chat?: ApiChat })
2027
2027
} ;
2028
2028
}
2029
2029
2030
- export async function updatePaidMessagesPrice ( {
2030
+ export function updatePaidMessagesPrice ( {
2031
2031
chat, paidMessagesStars,
2032
2032
} : {
2033
2033
chat ?: ApiChat ; paidMessagesStars : number ;
2034
2034
} ) {
2035
2035
return invokeRequest ( new GramJs . channels . UpdatePaidMessagesPrice ( {
2036
- channel : chat && buildInputEntity ( chat . id , chat . accessHash ) as GramJs . InputChannel ,
2036
+ channel : chat && buildInputChannel ( chat . id , chat . accessHash ) ,
2037
2037
sendPaidMessagesStars : BigInt ( paidMessagesStars ) ,
2038
2038
} ) , {
2039
2039
shouldReturnTrue : true ,
Original file line number Diff line number Diff line change 552
552
553
553
& :not (.custom-shape ) .emoji :not (.custom-emoji ) {
554
554
display : inline-block ;
555
- width : 1.25rem ;
556
- background-size : 1.25rem ;
555
+ width : 1.25em ;
556
+ height : 1.25em ;
557
+ background-size : 1.25em ;
557
558
color : transparent ;
558
559
margin-inline-end : 1px ;
559
560
vertical-align : text-bottom ;
Original file line number Diff line number Diff line change 49
49
display : flex ;
50
50
align-items : center ;
51
51
white-space : nowrap ;
52
+ height : 1.5rem ; // Emoji-only titles ignore line-height on Windows
52
53
gap : 1px ; // Prevent custom emoji sticking to the text
53
54
}
54
55
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ export function hasStoredSession() {
14
14
return true ;
15
15
}
16
16
17
+ const slotData = loadSlotSession ( ACCOUNT_SLOT ) ;
18
+ if ( slotData ) return Boolean ( slotData . dcId ) ;
19
+
17
20
if ( ! ACCOUNT_SLOT ) {
18
21
const legacyAuthJson = localStorage . getItem ( SESSION_LEGACY_USER_KEY ) ;
19
22
if ( legacyAuthJson ) {
@@ -27,8 +30,7 @@ export function hasStoredSession() {
27
30
}
28
31
}
29
32
30
- const slotData = loadSlotSession ( ACCOUNT_SLOT ) ;
31
- return Boolean ( slotData && slotData . dcId ) ;
33
+ return false ;
32
34
}
33
35
34
36
export function storeSession ( sessionData : ApiSessionData ) {
You can’t perform that action at this time.
0 commit comments