Fix links in voice chat admin log events.
This commit is contained in:
		
							parent
							
								
									3a34881488
								
							
						
					
					
						commit
						0709bc6d70
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -838,7 +838,7 @@ void GenerateItems( | ||||||
| 		data.vparticipant().match([&](const MTPDgroupCallParticipant &data) { | 		data.vparticipant().match([&](const MTPDgroupCallParticipant &data) { | ||||||
| 			const auto user = history->owner().user(data.vuser_id().v); | 			const auto user = history->owner().user(data.vuser_id().v); | ||||||
| 			const auto userLink = user->createOpenLink(); | 			const auto userLink = user->createOpenLink(); | ||||||
| 			const auto userLinkText = textcmdLink(1, user->name); | 			const auto userLinkText = textcmdLink(2, user->name); | ||||||
| 			auto text = tr::lng_admin_log_muted_participant( | 			auto text = tr::lng_admin_log_muted_participant( | ||||||
| 				tr::now, | 				tr::now, | ||||||
| 				lt_from, | 				lt_from, | ||||||
|  | @ -862,7 +862,7 @@ void GenerateItems( | ||||||
| 		data.vparticipant().match([&](const MTPDgroupCallParticipant &data) { | 		data.vparticipant().match([&](const MTPDgroupCallParticipant &data) { | ||||||
| 			const auto user = history->owner().user(data.vuser_id().v); | 			const auto user = history->owner().user(data.vuser_id().v); | ||||||
| 			const auto userLink = user->createOpenLink(); | 			const auto userLink = user->createOpenLink(); | ||||||
| 			const auto userLinkText = textcmdLink(1, user->name); | 			const auto userLinkText = textcmdLink(2, user->name); | ||||||
| 			auto text = tr::lng_admin_log_unmuted_participant( | 			auto text = tr::lng_admin_log_unmuted_participant( | ||||||
| 				tr::now, | 				tr::now, | ||||||
| 				lt_from, | 				lt_from, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John Preston
						John Preston