DM Window Check Bugfix
This commit is contained in:
parent
8b4834822e
commit
9ba107c964
@ -690,7 +690,7 @@ namespace qtc_net_client_2
|
|||||||
{
|
{
|
||||||
var args = (DirectMessageEventArgs)e;
|
var args = (DirectMessageEventArgs)e;
|
||||||
|
|
||||||
DirectMessage? existingForm = (DirectMessage?)Application.OpenForms.Cast<Form>().FirstOrDefault(e => e.Name == "frmDirectMessage");
|
DirectMessage? existingForm = (DirectMessage?)Application.OpenForms.Cast<Form>().FirstOrDefault(e => e.Name == "DirectMessage");
|
||||||
if (existingForm != null && existingForm.User.Id == args.User.Id)
|
if (existingForm != null && existingForm.User.Id == args.User.Id)
|
||||||
{
|
{
|
||||||
// we want to just add to its text box
|
// we want to just add to its text box
|
||||||
|
Loading…
x
Reference in New Issue
Block a user