Explorar o código

Remove dead code

Danilo Bargen %!s(int64=7) %!d(string=hai) anos
pai
achega
2dd867f7a8
Modificáronse 1 ficheiros con 1 adicións e 10 borrados
  1. 1 10
      src/services/webclient.ts

+ 1 - 10
src/services/webclient.ts

@@ -891,18 +891,9 @@ export class WebClientService {
     }
 
     /**
+     * Mark a message as read.
      */
     public requestRead(receiver, newestMessage: threema.Message): void {
-        // Check if the receiver has an avatar or the avatar already exists
-        // let field: string = highResolution ? 'high' : 'low';
-        // let data = this.receivers.getData(receiver);
-        // if (data && data['avatar'] && data['avatar'][field]) {
-        //     return;
-        // }
-        // if (data && data.hasAvatar === false) {
-        //     return;
-        // }
-
         // Create arguments and send request
         const args = {
             [WebClientService.ARGUMENT_RECEIVER_TYPE]: receiver.type,