diff --git a/BeWo/ServiceProxy/Generated.cs b/BeWo/ServiceProxy/Generated.cs index d86579ac6..99f0ab735 100644 --- a/BeWo/ServiceProxy/Generated.cs +++ b/BeWo/ServiceProxy/Generated.cs @@ -1195,11 +1195,15 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindAllChatMessages", ReplyAction="http://tempuri.org/ICustomerService/FindAllChatMessagesResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindAllChatMessagesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid); + System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid, int maxNachricht); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeam", ReplyAction="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeamResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeamBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid); + System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid, int maxNachrichten); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetNextChatMessages", ReplyAction="http://tempuri.org/ICustomerService/GetNextChatMessagesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetNextChatMessagesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetNextChatMessages(long senderOid, long EmpfangOid, bool isteam, System.Collections.Generic.List messageIds, int maxMessage); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateIstGelesen", ReplyAction="http://tempuri.org/ICustomerService/UpdateIstGelesenResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateIstGelesenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] @@ -1916,14 +1920,19 @@ namespace BeWo.ServiceProxy return base.Channel.GetAllChatActiveCustomersCompact(personOid); } - public System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid) + public System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid, int maxNachricht) { - return base.Channel.FindAllChatMessages(senderOid, empfaengerOid); + return base.Channel.FindAllChatMessages(senderOid, empfaengerOid, maxNachricht); } - public System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid) + public System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid, int maxNachrichten) { - return base.Channel.FindAllChatMessagesFromTeam(senderOid, teamEmpfangOid); + return base.Channel.FindAllChatMessagesFromTeam(senderOid, teamEmpfangOid, maxNachrichten); + } + + public System.Collections.Generic.List GetNextChatMessages(long senderOid, long EmpfangOid, bool isteam, System.Collections.Generic.List messageIds, int maxMessage) + { + return base.Channel.GetNextChatMessages(senderOid, EmpfangOid, isteam, messageIds, maxMessage); } public void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen) diff --git a/BeWo/View/ChatView.xaml b/BeWo/View/ChatView.xaml index a66158473..42eb2b387 100644 --- a/BeWo/View/ChatView.xaml +++ b/BeWo/View/ChatView.xaml @@ -250,6 +250,16 @@ + + + + +