Help with chat script

Hello i need help with my script Fried chat I have a problem that my friend sees the message but I don’t.
Can someone help me complete the script please
here is part of the script I use

public void ReceiveMessage(string recipientId, string message,string secretMessage)
  {
      

      if (recipientId == PhotonNetwork.NickName)
      {
          GameObject m = Instantiate(Message, Vector3.zero, Quaternion.identity, content.transform);
          m.GetComponent<message>().MyMessage.text = message;
          m.GetComponent<message>().SecretMessage =  secretMessage;
          m.GetComponent<message>().MyMessage.color = Color.red;
        
        
      }

      if(recipientId == "")
      {
          GameObject m = Instantiate(Message, Vector3.zero, Quaternion.identity, content.transform);
          m.GetComponent<message>().MyMessage.text = message;
          m.GetComponent<message>().SecretMessage = secretMessage;
          m.GetComponent<message>().MyMessage.color = Color.black;

      }
  }

This is a fantastic approach to use for these things:

Imphenzia: How Did I Learn To Make Games:

Two steps to tutorials and / or example code:

  1. do them perfectly, to the letter (zero typos, including punctuation and capitalization)
  2. stop and understand each step to understand what is going on.

If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.

If you run into trouble and need to ask a technical question here,

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

This is the bare minimum of information to report:

  • what you want
  • what you tried
  • what you expected to happen
  • what actually happened, log output, variable values, and especially any errors you see
  • links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)

The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?