File tree 2 files changed +3
-2
lines changed
widgetssdk/src/main/java/com/glia/widgets
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -623,7 +623,7 @@ class ChatController(
623
623
viewCallback?.minimizeView()
624
624
}
625
625
626
- private fun operatorConnected (operatorName : String , profileImgUrl : String ) {
626
+ private fun operatorConnected (operatorName : String , profileImgUrl : String? ) {
627
627
val items: MutableList <ChatItem > = chatState.chatItems.toMutableList()
628
628
if (chatState.operatorStatusItem != null ) {
629
629
// remove previous operator status item
@@ -654,7 +654,7 @@ class ChatController(
654
654
emitChatItems(chatState.changeItems(items))
655
655
}
656
656
657
- private fun operatorChanged (operatorName : String , profileImgUrl : String ) {
657
+ private fun operatorChanged (operatorName : String , profileImgUrl : String? ) {
658
658
val items: MutableList <ChatItem > = chatState.chatItems.toMutableList()
659
659
val operatorStatusItem = OperatorStatusItem .OperatorJoinedStatusItem (
660
660
chatState.companyName,
Original file line number Diff line number Diff line change 43
43
import java .util .concurrent .TimeUnit ;
44
44
45
45
public class Utils {
46
+ @ Nullable
46
47
public static String getOperatorImageUrl (Operator operator ) {
47
48
return operator .getPicture () != null ? operator .getPicture ().getURL ().orElse (null ) : null ;
48
49
}
You can’t perform that action at this time.
0 commit comments