mirror of
				https://github.com/42wim/matterbridge.git
				synced 2025-11-03 23:37:24 +01:00 
			
		
		
		
	Fix empty messages (telegram)
This commit is contained in:
		
							parent
							
								
									16be6601c8
								
							
						
					
					
						commit
						1ec324354b
					
				@ -169,6 +169,7 @@ func (b *Btelegram) handleRecv(updates <-chan tgbotapi.Update) {
 | 
			
		||||
					rmsg.Username = message.From.FirstName
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			rmsg.Text += message.Text
 | 
			
		||||
			// only download avatars if we have a place to upload them (configured mediaserver)
 | 
			
		||||
			if b.General.MediaServerUpload != "" {
 | 
			
		||||
				b.handleDownloadAvatar(message.From.ID, rmsg.Channel)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user