File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2461,13 +2461,14 @@ void ApiWrap::refreshFileReference(
2461
2461
const auto mediaStory = media ? media->storyId () : FullStoryId ();
2462
2462
const auto storyId = mediaStory
2463
2463
? mediaStory
2464
- : FullStoryId (
2464
+ : FullStoryId{
2465
2465
(IsStoryMsgId (item->id )
2466
2466
? item->history ()->peer ->id
2467
2467
: PeerId ()),
2468
2468
(IsStoryMsgId (item->id )
2469
2469
? StoryIdFromMsgId (item->id )
2470
- : StoryId ()));
2470
+ : StoryId ())
2471
+ };
2471
2472
if (storyId) {
2472
2473
request (MTPstories_GetStoriesByID (
2473
2474
_session->data ().peer (storyId.peer )->input ,
Original file line number Diff line number Diff line change @@ -297,9 +297,9 @@ void MessageView::prepare(
297
297
? 0
298
298
: minFrom - kLeftShift ;
299
299
300
- textToCache = TextWithEntities (
301
- minFrom > 0 ? kQEllipsis : QString () )
302
- .append (Text::Mid (std::move (textToCache), minFrom));
300
+ textToCache = (TextWithEntities{
301
+ minFrom > 0 ? kQEllipsis : QString ()
302
+ }) .append (Text::Mid (std::move (textToCache), minFrom));
303
303
}
304
304
}
305
305
_hasPlainLinkAtBegin = !textToCache.entities .empty ()
You can’t perform that action at this time.
0 commit comments