We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

SendMessageCommand is not working after v17.4.0.39

Hi there

Just wanted to let you know that in SfChat control, SendMessageCommand is not invoked anymore after upgrading from v17.4.0.39 to v17.4.0.41.

<syncFusionSfChat:SfChat x:Name="sfChat" 
                           MessageShape="RoundedRectangle"
                           SendMessageCommand="{Binding SendMessageCommand}"
                           Messages="{Binding Messages}"
                           CurrentUser="{Binding CurrentUser}"
                           TimestampFormat="hh:mm tt"
                           ShowTimeBreak="True">

private ICommand _sendMessageCommand;
public ICommand SendMessageCommand
        {
            get => _sendMessageCommand;

            set
            {
                _sendMessageCommand = value;
                RaisePropertyChanged(() => SendMessageCommand);
            }
        }

SendMessageCommand = new Command(SendMessage);

private void SendMessage(object args)
        {
            (args as SendMessageEventArgs).Message.ShowAvatar = true;           
        }

The above code works perfectly fine with v17.4.0.39 but is broken afterwards.

Thanks


1 Reply

FP Farjana Parveen Ayubb Syncfusion Team January 13, 2020 09:28 AM UTC

Hi Ali Alizadeh, 
 
Sorry for the inconvenience caused. 
 
We have analyzed your reported issue and its our known issue, and we have fixed and included in our upcoming weekly NuGet release and which will be available on 14th January, 2020. 
 
We appreciate your patience until then.   
   
Regards,
Farjana Parveen A
 


Loader.
Live Chat Icon For mobile
Up arrow icon