make playback TGID specific

This commit is contained in:
n0mjs710 2020-02-11 15:53:02 -06:00
parent 86c69340f4
commit 0613defeb7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class HBP(HBSYSTEM):
return None
def dmrd_received(self, _peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data):
if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM) and (_stream_id != self.last_stream):
if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM) and (_stream_id != self.last_stream) and (_dst_id == bytes_3(2)):
self.last_stream = _stream_id
feedback = Thread(target=self.play_voice(bytes_3(3120102), bytes_3(2), bytes_4(3120119), 0, [words['connected'], words['kansas_link']]))