package org.telegram.io;

import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import org.telegram.MainActivity;
import org.telegram.service.SocketService;

/**
 * Created by Ahmad Nemati on 2/2/19.
 */
public class AppStartReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        context.startService(new Intent(context,SocketService.class));
    }
}
